package com.yang.chen.oa.service;

import com.yang.chen.oa.domain.Message;
import com.yang.chen.oa.domain.TbDept;
import com.yang.chen.oa.domain.TbEmployee;
import com.yang.chen.oa.domain.TbJob;
import com.yang.chen.oa.vo.PageBean;

import java.util.List;

public interface EmployeeService {

    public PageBean<TbEmployee> showEmployee(Integer pageNumber, Integer pageSize, TbEmployee employee);

    public boolean addEmployee(TbEmployee employee);

    public boolean deleteById(Integer id);

    public boolean deleteBybatch(Integer[] ids);

    public TbEmployee findEmployeeById(Integer id);

    public boolean udpateEmployee(TbEmployee employee);

    public List<Message> showAll();

    public List<TbJob> selectJob();

    public List<TbDept> selectDept();
}
